import React from 'react'
import './index.less'
import { PageHeader } from 'antd';
export default class PageHeader_demo extends React.Component{
    state={
        theme:'dark',
    }
    changeTheme(value){
        this.setState({theme:value?'dark':'light'})
    }
    render(){
        let {theme}=this.state
        return (
            <div className="PageHeader_demo">
                <h1>pageHeader页头</h1>
                <PageHeader className="site-page-header" onBack={()=>null} title="标题1" subTitle="副标题" />
                <hr/>
            </div>
        )
    }
}